<!-- 安全认证 -->
<div data-ng-controller="AuthCtrl">
    <div style="padding: 10px 100px 10px;">
        <form class="bs-example bs-example-form" role="form">
            <div class="input-group">
                <span class="input-group-addon">标识</span>
                <input type="text" class="form-control" ng-model="author.identityId" disabled>
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">账号</span>
                <input type="text" class="form-control" ng-model="author.username" disabled>
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">昵称</span>
                <input type="text" class="form-control" ng-model="author.nickname">
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">姓名</span>
                <input type="text" class="form-control" ng-model="author.name" disabled>
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">性别</span>
                <select ng-model="author.sex" ng-options="sex.id as sex.name for sex in sexs"
                        class="form-control"></select>
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">年龄</span>
                <input type="text" class="form-control" ng-model="author.age">
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">生日</span>
                <input type="date" class="form-control" ng-model="birthday">
            </div>
            <br>
        </form>
        <br>
        <p style="color: red">注意:以上信息,一经修改,不可恢复！！！</p>
        <br>
        <div>
            <button class="btn btn-primary" ng-click="alterInfo()">保存信息</button>
            &nbsp;&nbsp;
            <button class="btn btn-warning" ng-click="resetPassword()">修改密码</button>
        </div>
    </div>
</div>